package com.newtouch.bxzs.common.base.model;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 营销活动实体类
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2021年2月9日</td>
 * <td>Amour</td>
 * <td>Create</td>
 * </tr>
 * </table>
 * 
 * @author Amour
 * 
 * @version 1.0.0
 * @since 1.0.0
 */
@Data
@TableName("ASSISTANT_MARKETING_ACTIVITY")
public class Activity implements Serializable {

	/** serialVersionUID */
	private static final long serialVersionUID = 3060398827649660760L;

	/** 营销活动ID */
	@TableId(value = "MARKETING_ACTIVITY_ID", type = IdType.ASSIGN_UUID)
	private String marketingActivityId;

	/** 创建用户ID */
	@TableField("CREATE_USER_ID")
	private String createUserId;

	/** 创建时间 */
	@TableField("CREATE_TIME")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createTime;

	/** 修改用户ID */
	@TableField("UPDATE_USER_ID")
	private String updateUserId;

	/** 修改时间 */
	@TableField("UPDATE_TIME")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date updateTime;

	/** 营销活动主题 */
	@TableField("MARKETING_ACTIVITY_THEME")
	private String marketingActivityTheme;

	/** 营销活动开始时间 */
	@TableField("MARKETING_ACTIVITY_START_TIME")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date marketingActivityStartTime;

	/** 营销活动结束时间 */
	@TableField("MARKETING_ACTIVITY_END_TIME")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date marketingActivityEndTime;

	/** 营销活动范围 */
	@TableField("MARKETING_ACTIVITY_SCOPE")
	private Integer marketingActivityScope;

	/** 营销活动内容 */
	@TableField("MARKETING_ACTIVITY_CONTENT")
	private String marketingActivityContent;

	/** 营销活动状态 */
	@TableField("MARKETING_ACTIVITY_STATUS")
	private String marketingActivityStatus;

	/** 营销活动发布机构名称 */
	@TableField("MARKETING_ACTIVITY_PUBLISH_ORGANIZATION_NAME")
	private String marketingActivityPublishOrganizationName;

	/** 是否为发布方 */
	@TableField("IS_PUBLISHER")
	private Boolean publisherFlag;

	/** 是否删除 */
	@TableLogic(value = "0", delval = "1")
	@TableField(value = "IS_DELETE")
	private Boolean deleteFlag = false;

}
